Skip to main content

templateAudioClip

Type

keyword

Summary

Used with the set command to set the properties of newly created audio clip objects.

Syntax

templateAudioClip

Description

Use the templateAudioClip keyword to set up default properties to be used for any new audio clips you create.

The templateAudioClip can be thought of as a special, abstract object. It is not an actual audio clip, but it has all the properties of an audio clip. The ID property of the templateAudioClip is zero.

You can use the set command to set the properties of the templateAudioClip before creating an audio clip. The new audio clip has the properties of the templateAudioClip, by default. Changing the properties of the templateAudioClip does not affect existing audio clips.

The properties of the templateAudioClip can be returned to the default settings using the reset command.

You can refer to the templateAudioClip using any of the following forms:templateAudioClip

    the templateAudioClip
templateAudioClip()
note

The templateAudioClip keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.

Examples

set the playLoudness of the templateAudioClip to 6

object: audioClip

property: properties, ID

command: reset, set

control structure: function

function: functionNames

glossary: object, keyword, audio clip, property, command, expression

keyword: templateScrollbar, default

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?